<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateReResumeTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('re_resume', function (Blueprint $table) {
            $table->increments('resume_id');
            $table->string('resume_name')->comment('用户名称');
            $table->dateTime('resume_time')->comment('创建时间');
            $table->tinyInteger('is_default')->comment('是否默认');
            $table->string('resume_place')->comment('籍贯');
            $table->dateTime('resume_born')->comment('出生日期');
            $table->string('resume_face')->comment('政治面容');
            $table->string('resume_nature')->comment('工作性质');
            $table->string('resume_work')->comment('行业');
            $table->dateTime('resume_work_time')->commetn('工作时间');
            $table->integer('resume_min')->comment('最低薪资');
            $table->integer('resume_max')->comment('最高薪资');
            $table->string('resume_comment')->comment('自我评价');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('re_resume');
    }
}
